package com.wanhe.base;

import android.view.View;

import com.trello.rxlifecycle2.LifecycleTransformer;
import com.trello.rxlifecycle2.components.support.RxDialogFragment;

/**
 * Created by XieZaiWei on 2017/6/16.
 * dialog的基类
 */

public abstract class BaseDialogFragment extends RxDialogFragment implements IBaseView {

	protected View mView;

	@Override
	public void showLoading() {

	}

	@Override
	public void hideLoading() {

	}

	@Override
	public void showNetError() {

	}

	@Override
	public <T> LifecycleTransformer <T> bindToLife() {
		return this.<T>bindToLifecycle();
	}

	public View findViewById(int id) {
		return mView.findViewById(id);
	}

}
